package cn.juque.jdfsystem.entity;

import cn.juque.lucenecandy.core.annotation.Field;
import cn.juque.lucenecandy.core.base.BaseEntity;
import cn.juque.lucenecandy.core.enums.DataTypeEnum;
import cn.juque.lucenecandy.core.enums.FieldFillEnum;
import lombok.Data;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>JdfSystemEntity</li>
 * </ul>
 * @date 2024-01-11
 **/
@Data
public class JdfSystemEntity extends BaseEntity {

    @Field(value = "create_user_id", fills = {FieldFillEnum.INSERT})
    private String createUserId;

    @Field(value = "create_org_id", fills = {FieldFillEnum.INSERT})
    private String createOrgId;

    @Field(value = "create_date", type = DataTypeEnum.INT, fills = {FieldFillEnum.INSERT})
    private Integer createDate;

    @Field(value = "update_user_id", fills = {FieldFillEnum.INSERT, FieldFillEnum.UPDATE})
    private String updateUserId;

    @Field(value = "update_org_id", fills = {FieldFillEnum.INSERT, FieldFillEnum.UPDATE})
    private String updateOrgId;

    @Field(value = "update_date", type = DataTypeEnum.INT, fills = {FieldFillEnum.INSERT, FieldFillEnum.UPDATE})
    private Integer updateDate;
}
